package com.marketlive.app.b2c.common.constants;

/**
 * Constants for Error strings used in Actions.
 */

/*
(C) Copyright MarketLive. 2006. All rights reserved.
MarketLive is a trademark of MarketLive, Inc.
Warning: This computer program is protected by copyright law and international treaties.
Unauthorized reproduction or distribution of this program, or any portion of it, may result
in severe civil and criminal penalties, and will be prosecuted to the maximum extent
possible under the law.
*/

public class Errors {

	private Errors() {
	};

	/**
	 * Generic error message for failed Action.
	 */
	public static final String ACTION_FAILED = "err.common.action.failed";
	/**
	 * Generic error message for a required input field.
	 */
	public static final String REQUIRED = "err.common.isRequired";
	public static final String FIELD_MAX_LENGTH_INVALID = "errors.maxlength";
	public static final String ERRORS_INVALID = "errors.invalid";
	public static final String ERRORS_TOPIC_INVALID = "err.lbl.topicInvalid";
	public static final String ERRORS_MESSAGE_REQUIRED = "err.lbl.messageRequired";

	public static final String NO_OPTIONS_SELECTED = "err.common.noOptionsSelected";
    public static final String RENTER_REQUIRED="err.common.isReEnterRequired";

	/**
	 * Error messages related to Email input field.
	 */
	public static final String EMAIL_INVALID = "err.lbl.emailInvalid";
	public static final String EMAIL_REQUIRED = "err.lbl.emailRequired";
	public static final String EMAIL_NOT_FOUND = "err.common.emailNotInDB";

	/**
	 * Error message for invalid gift certificate number.
	 */
	public static final String GIFT_CERTIFICATE_INVALID = "err.common.giftCertificateInvalid";
    public static final String GIFT_CERTIFICATE_INSUFFICIENT_BALANCE = "err.common.paymentInsufficient";
    public static final String PAYMENT_SUFFICIENT_CC_REQUIRED = "err.common.paymentSufficientCreditCardRequired";

    /**
     * No Credit Card selected error message.
     */
    public static final String errNoCardSelected = "err.common.creditCardNoSelection";

	/**
	 * Eerror messages for invalid source code.
	 */
	public static final String SOURCE_CODE_INVALID = "err.common.couponInvalid";
	public static final String CQS_SOURCE_CODE_INVALID = "err.product.catalogQuickShopInvalidSourceCode";

	/**
	 * Error Messages for Site Search.
	 */
	public static final String NO_SEARCH_CRITERIA = "err.common.noSearchCriteria";
    public static final String INVALID_CRITERIA = "err.common.invalidSearchCriteria";
	public static final String ADV_SEARCH_ALL_CATS_SELECTED = "err.product.advancedSearchAllCategoriesSelected";
    public static final String SEARCH_FAILURE = "err.common.searchFailure";

	/**
	 * Error messages for the Wish List module
	 */
	public static final String WISHLISTS_NOT_FOUND = "err.account.wishLists.findAFriendsWishList";
	public static final String WISHLIST_NOT_FOUND = "err.account.wishLists.NoListFound";
	public static final String WISHLIST_NAME_REQUIRED = "err.lbl.wishlistNameRequired";
	public static final String WISHLIST_NOT_SELECTED = "err.account.wishLists.selectWishlist";
	public static final String WISHLIST_NO_NAME_PROVIDED = "err.account.wishLists.sendWishlist.noName";
	public static final String WISHLIST_NO_EMAIL_PROVIDED = "err.account.wishLists.sendWishlist.noEmail";
	public static final String WISHLIST_TOO_MANY_RECIPIENTS = "err.account.wishLists.sendWishlist.tooManyRecipients";
	public static final String WISHLIST_INVALID_EMAILS = "err.account.wishLists.sendWishlist.invalidEmails";

	/**
	 * Error Messages for RegisterUser Action.
	 */
	public static final String REGISTER_USER_PASSWORDS_NOMATCH = "err.common.passwordsNotMatch";
	public static final String REGISTER_USER_USERNAME_EXISTS = "err.common.usernameExists";
	public static final String REGISTER_USER_RECOVERY_QUESTION = "err.lbl.recoveryQuestion";
	public static final String REGISTER_USER_INVALID_HINT = "error.hintquestion.invalid";
	public static final String REGISTER_USER_RECOVERY_ANSWER = "err.lbl.recoveryAnswer";

	/** Error Messages for PasswordRecovery Action. */
	public static final String PSW_RECOVERY_BLANK_ANSWER = "err.passwordRecovery.answerBlank";
	public static final String PSW_RECOVERY__WRONG_ANSWER = "err.passwordRecovery.answerWrong";

	/** Error Messages for Login/Logout Actions. */
	public static final String LOGIN_INVALID = "err.account.userNamePasswordInvalid";
	public static final String LOGIN_INVALID_PSW_RECOVERY_LINK  = "<a href='/account/passwordrecovery.do?method=view&from=account'>click here</a>";

    /** log error message for TAF **/
    public static final String TAF_SEND_ERROR = "Error processing TellAFriend send.";
    public static final String TAF_CANCEL_ERROR = "Error processing Tell A Friend Cancel.";

    /** Error Messages for Personalization Action. */
	public static final String PERZ_TEXT_FIELD_BLANK_SINGLE_SKU = "err.personalization.textFieldBlank.singleSKU";
	public static final String PERZ_TEXT_FIELD_BLANK_MULTIPLE_SKU = "err.personalization.textFieldBlank.multiSKU";
    public static final String PERZ_TEXT_OPTION_NOT_SELECTED_SINGLE_SKU = "err.personalization.optionNotSelected.singleSKU";
	public static final String PERZ_TEXT_OPTION_NOT_SELECTED_MULTIPLE_SKU = "err.personalization.optionNotSelected.multiSKU";

}


